<template>

    <childVue @SynchroData="SynchroData" @SynchroEvent="SynchroEvent" />
    <br>
    <span>{{value}}</span>

</template>
<script setup>
import { ref } from 'vue';
import childVue from './child.vue';


const value = ref();
const SynchroData = (val) => {

    value.value = val

}
const SynchroEvent = (val) => {
    value.value = val
}

</script>
<style lang="less" scoped>
</style>